﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="showMessagesReport.aspx.cs" Inherits="School.Pages.Organization.Reports.showMessagesReport" %>
<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>اخطار طلاب</title>
</head>
<body>
    <form id="form1" runat="server">
    <div align="center">
    
        <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
            Font-Size="8pt" Height="29.7cm" InteractiveDeviceInfos="(Collection)" 
            WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="21cm" 
            PageCountMode="Actual" ZoomMode="PageWidth"  >
            <LocalReport ReportPath="Organization\Reports\rptNewYearMessage.rdlc">
                <DataSources>
                   <%-- <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="DataSet1" />--%>
                   <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" 
                        Name="DataSet1" />
                </DataSources>
            </LocalReport>
        </rsweb:ReportViewer>                    
       <%-- <asp:SqlDataSource ID="ObjectDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SchoolConnectionString %>" 
            
            SelectCommand="SELECT Ar_FirstName + ' ' + Ar_SecondName + ' ' + Ar_ThirdNmae + ' ' + Ar_FourthName AS FullName, Gregorian_BirthDate FROM TE_Student">
        </asp:SqlDataSource>--%>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
              OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" 
              TypeName="School.Pages.studentsDetailsTableAdapters.vw_StudentsDetailsTableAdapter">
          </asp:ObjectDataSource>
    </div>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    </form>
</body>
</html>
